libxc: correct domain builder for 64 bit guest with 32 bit tools
authorJuergen Gross <jgross@suse.com>
Tue, 1 Dec 2015 07:49:49 +0000 (08:49 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 1 Dec 2015 12:12:19 +0000 (12:12 +0000)
commit43e99d38cd9253267982f5c29205f2d273f7d65e
tree3b1ef7c7c848bbccc2c22baa12a79c1ad53a55c6
parenta27f1fb69d13c800dc438bc93ffdb437962c29fb
libxc: correct domain builder for 64 bit guest with 32 bit tools

Commit 8c45adec18e0512c3d34dcafb13414ecba21be6a ("create unmapped
initrd in domain builder if supported") introduced an error for
building a 64 bit guest with a 32 bit toolset.

The initrd start address and size where stored in an unsigned long
instead of using a 64 bit type.

Signed-off-by: Juergen Gross <jgross@suse.com>
Tested-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxc/include/xc_dom.h